package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.entity.BaseMaintenance;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by renzhikun on 18-6-28.
 */
@Mapper
public interface BaseMaintenanceMapper{

    void addBaseMaintenance(BaseMaintenance maintenance);

    void deleteBaseMaintenance(Map<String, Object> map);

    void updateBaseMaintenance(BaseMaintenance maintenance);

    List<BaseMaintenance> queryBaseMaintenance(Pagination page, BaseMaintenance maintenance);
}
